<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/27
 * Time: 15:03
 */

require_once ('./FileUpload.php');

$video_path = './';
$videoOther = array(
    'isRandName' => true,
    'allowType'  => array('png'),
    'FilePath'   => 'D:\phpProject\log\base\七牛\\',
    'MAXSIZE'    => 20000000
);
$upload = new FileUpload($videoOther);
$pic_id = 0;
$upload->uploadFile('file');
var_dump($upload);